package com.tomtop.core;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;



@EnableScheduling
@SpringBootApplication
@EnableAsync(proxyTargetClass=true)
@ServletComponentScan("com.tomtop")
@ComponentScan(basePackages = "com.tomtop")
@EnableAspectJAutoProxy(proxyTargetClass=true,exposeProxy=false)
public class Application {
	
	public static void main( String[] args ) {
		SpringApplication.run(Application.class, args);
	}
}